package com.zhang.mapper;


import com.zhang.domain.Permissions;
import com.zhang.domain.Role;
import com.zhang.query.RoleQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zh
 * @create 2022-02-14 9:16
 */
public interface RoleMapper {
    List<Role> loadAll(RoleQuery rq);

    void add(Role role);

    void update(Role role);

    void delete(Integer id);
}
